﻿using System.Windows;
using System.Windows.Controls;

namespace Enterprises.Wpf.Sample.UserControls.Controls
{
    /// <summary>
    /// MagicBarView.xaml 的交互逻辑
    /// </summary>
    public partial class MagicBarView : UserControl
    {
        public MagicBarView()
        {
            InitializeComponent();
            Loaded += MainWindow_Loaded;
        }

        private void MainWindow_Loaded(object sender, RoutedEventArgs e)
        {
            bar.SelectedIndex = 2;
        }
    }
}
